package rad.framework.mda.generator.template.main.resources.metainf;

public class EjbJarDD
{
  protected static String nl;
  public static synchronized EjbJarDD create(String lineSeparator)
  {
    nl = lineSeparator;
    EjbJarDD result = new EjbJarDD();
    nl = null;
    return result;
  }

  public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
  protected final String TEXT_1 = "<ejb-jar" + NL + "        xmlns=\"http://java.sun.com/xml/ns/javaee\"" + NL + "        xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"" + NL + "        xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd\"" + NL + "        version=\"3.0\">" + NL + "        " + NL + "\t<assembly-descriptor>" + NL + "\t" + NL + "\t\t<interceptor-binding>" + NL + "\t\t\t<ejb-name>*</ejb-name>" + NL + "            <interceptor-order>" + NL + "\t\t\t   <interceptor-class>org.jboss.seam.ejb.SeamInterceptor</interceptor-class>" + NL + "\t\t\t   <interceptor-class>rad.framework.trace.TraceInterceptor</interceptor-class>" + NL + "\t\t\t   <!--" + NL + "\t\t\t   <interceptor-class>rad.framework.ejb3.PostActivateInterceptor</interceptor-class>" + NL + "\t\t\t   <interceptor-class>rad.framework.trace.JamonPerformanceInterceptor</interceptor-class>" + NL + "\t\t\t   <interceptor-class>rad.framework.security.jpa.AccessPermissionInterceptor</interceptor-class>" + NL + "\t\t\t   -->" + NL + "            </interceptor-order>\t\t\t" + NL + "\t\t</interceptor-binding>" + NL + "\t\t\t\t" + NL + "\t</assembly-descriptor>" + NL + "" + NL + "</ejb-jar>";

  public String generate(Object argument)
  {
    final StringBuffer stringBuffer = new StringBuffer();
    stringBuffer.append(TEXT_1);
    return stringBuffer.toString();
  }
}
